﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 交易员月预期
    /// </summary>
    public interface IOperatorMonthExpected
    {

        void InitOperatorMonthExpected(int tradeHistoryId);

        void Delete(int year, int month);

        OperatorMonthExpected GetOperatorMonthExpected(int operatorid, int year, int month);

        /// <summary>
        /// 获取操作员周预期(这个方法应该每天去算，现在是从账户周预期里面查到，以后需要优化)
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="month"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        void SetOperatorMonthExpected(int operatorid, int tradeHistoryId);
    }
}
